group by and having

welcome to shbcf.ru